﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynORM.Interfaces
{
    public interface IORMDatabase
    {
        string DBName { get; }

        IEnumerable<IRowDescriptor> Tables { get; }
        void AddTable(IRowDescriptor table);
        void RemoveTable(string tableName);

        IEnumerable<IRow> Rows { get; }
        void AddRow(IRow row);
        void RemoveRow(IRow row);
        void RemoveRow(IPrimaryKey pk);

        List<string> AuxDatas { get; }
    }
}
